package com.love.marriage.userCommissionWithdrawalHistory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.common.interfaces.permission.DataPermission;
import com.love.marriage.userCommissionWithdrawalHistory.entity.UserCommissionWithdrawalHistory;
import com.love.marriage.userCommissionWithdrawalHistory.vo.UserCommissionWithdrawalHistoryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:  用户提现回佣金额历史表 mapper
 * author:       mybatisPlus
 * createDate:   2024-11-10 18:46:48
 * version:      1.0.0
 */
@Mapper
public interface UserCommissionWithdrawalHistoryMapper extends BaseMapper<UserCommissionWithdrawalHistory> {

    @DataPermission(table = "user_commission_withdrawal_history_t")
    Page<UserCommissionWithdrawalHistoryVo> getPage(Page<UserCommissionWithdrawalHistoryVo> page, @Param("userCommissionWithdrawalHistoryVo") UserCommissionWithdrawalHistoryVo userCommissionWithdrawalHistoryVo);

    List<UserCommissionWithdrawalHistoryVo> getList(@Param("userCommissionWithdrawalHistoryVo") UserCommissionWithdrawalHistoryVo userCommissionWithdrawalHistoryVo);

    UserCommissionWithdrawalHistoryVo queryUserCommissionWithdrawalHistory(@Param("id") Long id);
}
